﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Net.Sockets;
using System.IO;
using System.Net;
using Common;

namespace ServerYuGi
{

    public class Program
    {
        //public static bool isTest;
        static void Main(string[] args)
        {
            SSupervisor super=null;
            if (args.Length > 0)
            {
                //isTest = false;
                super = new SSupervisor(args[0]);
                
            }
            else
            {

                //isTest = false;
                //isTest = true;
                super = new SSupervisor("D:\\YugiServer\\config\\config.xml");



            }
            super.StartServer();
            Console.ReadLine();           
            
        }
       

    }
}
